Add Python 3.13 as a supported version
authorStuart Prescott <stuart@debian.org>
Thu, 26 Dec 2024 06:35:59 +0000 (17:35 +1100)
committerStuart Prescott <stuart@debian.org>
Thu, 26 Dec 2024 06:35:59 +0000 (17:35 +1100)
Gbp-Dch: Full

debian/patches/0010-Add-Python-3.13-as-supported-version.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0010-Add-Python-3.13-as-supported-version.patch b/debian/patches/0010-Add-Python-3.13-as-supported-version.patch
new file mode 100644 (file)
index 0000000..388f665
--- /dev/null
@@ -0,0 +1,51 @@
+From: Stuart Prescott <stuart@debian.org>
+Date: Thu, 26 Dec 2024 17:32:21 +1100
+Subject: Add Python 3.13 as supported version
+
+---
+ build_scripts/config.py             | 3 ++-
+ wheel_artifacts/pyproject.toml.base | 3 ++-
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/build_scripts/config.py b/build_scripts/config.py
+index 0a6eebf..d049a24 100644
+--- a/build_scripts/config.py
++++ b/build_scripts/config.py
+@@ -65,6 +65,7 @@ class Config(object):
+             'Programming Language :: Python :: 3.10',
+             'Programming Language :: Python :: 3.11',
+             'Programming Language :: Python :: 3.12',
++            'Programming Language :: Python :: 3.13',
+         ]
+         self.setup_script_dir = None
+@@ -115,7 +116,7 @@ class Config(object):
+         setup_kwargs['zip_safe'] = False
+         setup_kwargs['cmdclass'] = cmd_class_dict
+         setup_kwargs['version'] = package_version
+-        setup_kwargs['python_requires'] = ">=3.9, <3.13"
++        setup_kwargs['python_requires'] = ">=3.9, <3.14"
+         if log_level == LogLevel.QUIET:
+             # Tells setuptools to be quiet, and only print warnings or errors.
+diff --git a/wheel_artifacts/pyproject.toml.base b/wheel_artifacts/pyproject.toml.base
+index 2e30e9a..5e73b2b 100644
+--- a/wheel_artifacts/pyproject.toml.base
++++ b/wheel_artifacts/pyproject.toml.base
+@@ -10,7 +10,7 @@ authors = [
+ description = PROJECT_DESCRIPTION
+ readme = PROJECT_README
+ dynamic = ["version"]
+-requires-python = ">=3.9, <3.13"
++requires-python = ">=3.9, <3.14"
+ keywords = ["Qt"]
+ license = {text = "LGPL"}
+ dependencies = PROJECT_DEPENDENCIES
+@@ -35,6 +35,7 @@ classifiers = [
+     "Programming Language :: Python :: 3.10",
+     "Programming Language :: Python :: 3.11",
+     "Programming Language :: Python :: 3.12",
++    "Programming Language :: Python :: 3.13",
+     "Topic :: Database",
+     "Topic :: Software Development",
+     "Topic :: Software Development :: Code Generators",
index 4bc22403bee302e6f9ecbe1efdca8d6ca8b35a17..6e6f6bb2cde1f50e5c3f2518576931a89ad6c6a6 100644 (file)
@@ -7,3 +7,4 @@
 0007-XFAIL-a-new-test-failure-with-6.7.2.patch
 0008-XFAIL-smart-smart_pointer.patch
 0009-XFAIL-QtQml-qquickitem_grabToImage.patch
+0010-Add-Python-3.13-as-supported-version.patch